home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Alles Voor Internet / Tout Pour Internet
/
alles voor internet.iso
/
MacInternet™
/
Telnet
/
5PM PowerMac
/
5PM_Term_PPC.sea
/
Palettes Folder
/
Capture
/
Capture Recorder.rsrc
/
BTXT_4
< prev
next >
Wrap
Text File
|
1994-03-15
|
866b
|
28 lines
On mouseUp
If the short name of me = "Start Capture" then
Put the tmToolConfig of the targetSession of this palt into btn "tmConfig"
Put the long name of palt last word of the name of me into pathName
Set the chunkSeparator of 5PM to ":"
Get replacechars (the long time, ":", ".")
Put (the short date & " at " & it) into last chunk of pathName
Capture2 "STRT", btn "sess", pathName
Put the result into btn "refNum"
If btn "refNum" is empty then
Exit mouseUp
End If
Put pathName into btn "fName"
Set the name of me to "Stop Capture"
Get false
Else
If btn "refNum" is not empty then
Set the enable of btn 5 to true
Capture2 "STOP", btn "refNum"
End if
Put empty into btn "refNum"
Set the name of me to "Start Capture"
Do ReadList
Get true
End If
Set the enable of btn 2 to it
Set the enable of btn 5 to it
End mouseUp